package com.it.food.mapper;


import com.it.common.entity.Food;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FoodMapper {
     List<Food> getFoodByBusinessId(Integer businessId);

     @Select("select * from food where foodId=#{foodId}")
     Food getFoodById(Integer foodId);
}
